<?php require_once('../../includes/spip_launcher.php'); ?>

$(document).ready(function() {
    if (!$('#ecatalogue_product_form #champ_sold_in_packages').attr('checked'))
        $('#ecatalogue_product_form li.editer_num_in_package').hide();
    $('#ecatalogue_product_form #champ_sold_in_packages').click(function(){        
        $('#ecatalogue_product_form li.editer_num_in_package').slideToggle();
    });
});